package com.miot.object.device;

import java.io.Serializable;

/**
 * @Author: zhangyanbin
 * @Date: 2019/1/26 18:44
 * @Version 1.0
 */
public class MiDeviceVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String deviceId;
    /**
     * 小米did
     */
    private String deviceDid;
    /**
     * 设备类型
     */
    private String deviceType;
    /**
     * 设备名称
     */
    private String deviceName;
    /**
     * 产品类别
     */
    private String category;
    /**
     * 小米cloud_id
     */
    private Integer cloudId;
    /**
     * 设备图标
     */
    private String deviceIco;
    /**
     * 设备状态 0:离线 1:在线
     */
    private Boolean deviceStatus;
    /**
     * 小米真正ID
     */
    private String realDid;
    /**
     * 小米房间ID
     */

    private Long controlId;
    /**
     * 共同标志 0:不是 1:是
     */
    private Boolean commonMark;
    /**
     * 小米自带
     */
    private String rid;
    /**
     * 小房间名称
     */
    private String spaceName;

    public MiDeviceVo() {
    }

    public MiDeviceVo(String deviceId, String deviceDid, String deviceType, String deviceName, String category, Integer cloudId, String deviceIco, Boolean deviceStatus, String realDid, Long controlId, Boolean commonMark, String rid, String spaceName) {
        this.deviceId = deviceId;
        this.deviceDid = deviceDid;
        this.deviceType = deviceType;
        this.deviceName = deviceName;
        this.category = category;
        this.cloudId = cloudId;
        this.deviceIco = deviceIco;
        this.deviceStatus = deviceStatus;
        this.realDid = realDid;
        this.controlId = controlId;
        this.commonMark = commonMark;
        this.rid = rid;
        this.spaceName = spaceName;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceDid() {
        return deviceDid;
    }

    public void setDeviceDid(String deviceDid) {
        this.deviceDid = deviceDid;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Integer getCloudId() {
        return cloudId;
    }

    public void setCloudId(Integer cloudId) {
        this.cloudId = cloudId;
    }

    public String getDeviceIco() {
        return deviceIco;
    }

    public void setDeviceIco(String deviceIco) {
        this.deviceIco = deviceIco;
    }

    public Boolean getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(Boolean deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    public String getRealDid() {
        return realDid;
    }

    public void setRealDid(String realDid) {
        this.realDid = realDid;
    }

    public Long getControlId() {
        return controlId;
    }

    public void setControlId(Long controlId) {
        this.controlId = controlId;
    }

    public Boolean getCommonMark() {
        return commonMark;
    }

    public void setCommonMark(Boolean commonMark) {
        this.commonMark = commonMark;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getSpaceName() {
        return spaceName;
    }

    public void setSpaceName(String spaceName) {
        this.spaceName = spaceName;
    }
}
